import React from "react";

class HelloReact extends React.Component {
    cli = function () {
        console.log(this)
    };
    render() {
        return (<h2 onClick={() => this.cli()}>Hello React!!!</h2>)
    }
}

export default HelloReact